package com.yunkeji.system.service;

import com.yunkeji.common.core.domain.PageQuery;
import com.yunkeji.common.core.page.TableDataInfo;
import com.yunkeji.dao.vo.GiftReceiveVo;
import com.yunkeji.system.domain.bo.GiftReceiveBo;

import java.util.Collection;
import java.util.List;

/**
 * 礼物接收Service接口
 *
 * @author zhang
 * @date 2024-07-10
 */
public interface IGiftReceiveService {

    /** 查询礼物接收 */
    GiftReceiveVo queryById(Long id);

    /** 查询礼物接收列表 */
    TableDataInfo<GiftReceiveVo> queryPageList(GiftReceiveBo bo, PageQuery pageQuery);

    /** 查询礼物接收列表 */
    List<GiftReceiveVo> queryList(GiftReceiveBo bo);

    /** 新增礼物接收 */
    Boolean insertByBo(GiftReceiveBo bo);

    /** 修改礼物接收 */
    Boolean updateByBo(GiftReceiveBo bo);

    /** 校验并批量删除礼物接收信息 */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
